package com.pkx.guide.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.pkx.guide.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 *
 * 诱导屏播放表信息表
 * @author sunsy
 * @since 2023-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_info_guide_play_list")
@Schema(name="TInfoGuidePlayList对象", description="诱导屏播放表信息表")
public class TInfoGuidePlayList extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "播放表标题")
    @TableField("title")
    private String title;

    @Schema(description = "播放表名称")
    @TableField("name")
    private String name;

    @Schema(description = "播放表类型 0-预设 1-自定义")
    @TableField("type")
    private Integer type;

    @Schema(description = "播放表本地路径")
    @TableField("play_list_url")
    private String playListUrl;

    @Schema(description = "入特效 0-立即显示 3-上移 4-下移 5-左移 6-右移 100-清屏展示（全黑）")
    @TableField("in_animation")
    private Integer inAnimation;

    @Schema(description = "入特效时间 单位：毫秒")
    @TableField("in_animation_speed")
    private Integer inAnimationSpeed;

    @Schema(description = "显示屏背景颜色 rgbaa以,分隔")
    @TableField("background_colour")
    private String backgroundColour;

    @Schema(description = "发布开始时刻，例12:00")
    @TableField("start_time_scale")
    private String startTimeScale;

    @Schema(description = "发布结束时刻，例12:00")
    @TableField("end_time_scale")
    private String endTimeScale;

    @Schema(description = "显示屏区域1 x")
    @TableField("area1_x")
    private Integer area1X;

    @Schema(description = "显示屏区域1 y")
    @TableField("area1_y")
    private Integer area1Y;

    @Schema(description = "显示屏区域1 高height")
    @TableField("area1_height")
    private Integer area1Height;

    @Schema(description = "显示屏区域1 宽width")
    @TableField("area1_width")
    private Integer area1Width;

    @Schema(description = "显示屏区域2 x")
    @TableField("area2_x")
    private Integer area2X;

    @Schema(description = "显示屏区域2 y")
    @TableField("area2_y")
    private Integer area2Y;

    @Schema(description = "显示屏区域2 高height")
    @TableField("area2_height")
    private Integer area2Height;

    @Schema(description = "显示屏区域2 宽width")
    @TableField("area2_width")
    private Integer area2Width;

    @Schema(description = "显示屏区域id")
    @TableField("area_id")
    private String areaId;

    @Schema(description = "显示屏区域名称")
    @TableField("area_name")
    private String areaName;

    @Schema(description = "显示屏页面id")
    @TableField("page_id")
    private String pageId;

    @Schema(description = "显示屏页面名称")
    @TableField("page_name")
    private String pageName;

    @Schema(description = "播放项")
    @TableField(exist = false)
    private TInfoGuidePlayItem guidePlayItem;

    @Schema(description = "播放表上传设备列表")
    @TableField(exist = false)
    private List<TInfoGuidePlayListDevice> guidePlayListDeviceList;
}
